﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.WSA.SecondaryTileData
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine.WSA
{
  /// <summary>
  ///         <para>Defines the default look of secondary tile.
  /// </para>
  ///       </summary>
  /// <summary>
  ///   <para>Constructor for SecondaryTileData, sets default values for all members.</para>
  /// </summary>
  /// <param name="id">Unique identifier for secondary tile.</param>
  /// <param name="displayName">A display name for a tile.</param>
  public struct SecondaryTileData(string id, string displayName)
  {
    /// <summary>
    ///   <para>Arguments to be passed for application when secondary tile is activated.</para>
    /// </summary>
    public string arguments = "";
    private Color32 background = new Color32((byte) 0, (byte) 0, (byte) 0, (byte) 0);
    /// <summary>
    ///         <para>Defines, whether backgroundColor should be used.
    /// </para>
    ///       </summary>
    public bool backgroundColorSet = false;
    /// <summary>
    ///         <para>Display name for secondary tile.
    /// </para>
    ///       </summary>
    public string displayName = displayName;
    /// <summary>
    ///         <para>Defines the style for foreground text on a secondary tile.
    /// </para>
    ///       </summary>
    public TileForegroundText foregroundText = TileForegroundText.Default;
    /// <summary>
    ///         <para>Uri to logo, shown for secondary tile on lock screen.
    /// </para>
    ///       </summary>
    public string lockScreenBadgeLogo = "";
    /// <summary>
    ///         <para>Whether to show secondary tile on lock screen.
    /// </para>
    ///       </summary>
    public bool lockScreenDisplayBadgeAndTileText = false;
    /// <summary>
    ///         <para>Phonetic name for secondary tile.
    /// </para>
    ///       </summary>
    public string phoneticName = "";
    /// <summary>
    ///         <para>Defines whether secondary tile is copied to another device when application is installed by the same users account.
    /// </para>
    ///       </summary>
    public bool roamingEnabled = true;
    /// <summary>
    ///         <para>Defines whether the displayName should be shown on a medium secondary tile.
    /// </para>
    ///       </summary>
    public bool showNameOnSquare150x150Logo = true;
    /// <summary>
    ///         <para>Defines whether the displayName should be shown on a large secondary tile.
    /// </para>
    ///       </summary>
    public bool showNameOnSquare310x310Logo = false;
    /// <summary>
    ///         <para>Defines whether the displayName should be shown on a wide secondary tile.
    /// </para>
    ///       </summary>
    public bool showNameOnWide310x150Logo = false;
    /// <summary>
    ///   <para>Uri to the logo for medium size tile.</para>
    /// </summary>
    public string square150x150Logo = "";
    /// <summary>
    ///         <para>Uri to the logo shown on tile
    /// </para>
    ///       </summary>
    public string square30x30Logo = "";
    /// <summary>
    ///         <para>Uri to the logo for large size tile.
    /// </para>
    ///       </summary>
    public string square310x310Logo = "";
    /// <summary>
    ///         <para>Uri to the logo for small size tile.
    /// </para>
    ///       </summary>
    public string square70x70Logo = "";
    /// <summary>
    ///         <para>Unique identifier within application for a secondary tile.
    /// </para>
    ///       </summary>
    public string tileId = id;
    /// <summary>
    ///   <para>Uri to the logo for wide tile.</para>
    /// </summary>
    public string wide310x150Logo = "";

    /// <summary>
    ///         <para>Defines background color for secondary tile.
    /// </para>
    ///       </summary>
    public Color32 backgroundColor
    {
      get => this.background;
      set
      {
        this.background = value;
        this.backgroundColorSet = true;
      }
    }
  }
}
